<!-- menu -->
<dl class="menu clearfix" th:fragment="menu (type)">
    <dt class="menu-tit" th:if="${tagNav!=null and tagNav.size()>0}">
    	<a href="#" th:href="@{/product/list}" th:if="${type=='product'}"><i class="fa fa-th-large"></i>产品</a>
    	<a href="#" th:href="@{/news/list}" th:if="${type=='news'}"><i class="fa fa-th-large"></i>资讯</a>
    </dt>
    <dd class="menu-panel" th:if="${tagNav!=null and tagNav.size()>0 and type=='product'}">
        <span>[</span>
        <a th:class="${tag.curTag}? curTag : notCurTag" th:each="tag:${tagNav}" th:href="@{${'/'+type+'/list/filter?tagIds='+tag.id}}" th:text="${tag.name}"></a>
        <span>]</span>
    </dd>
    
    <dd class="menu-panel" th:if="${tagNav!=null and tagNav.size()>0 and type=='news'}">
        <span>[</span>
        <a th:class="${tag.curTag}? curTag : notCurTag" th:each="tag:${tagNav}" th:href="@{${'/'+type+'/list/filter?tagIds='+tag.name}}" th:text="${tag.name}"></a>
        <span>]</span>
    </dd>
    <!--/*-->
    <!-- search -->
    <dl class="search">
        <form>
            <input type="text" />
            <button type="submit"><i class="fa fa-search"></i></button>
        </form>
    </dl>
    <!-- search end -->
    <!--*/-->
</dl>
<!-- menu end -->